<div class="divMainContent" align="center">
<input type="hidden" id='hdtable' value="tbl_power_type"/>
<div id="divFormAdd1">
[onshow;block=div;when [var.sCanEdit] = 1]
<form id="frFormAdd" name="frFormAdd">
<table class="tblInfo" id="tblFromAdd">
<tr >
<td >Tên Tiếng Việt</td>
<td ><input type="text"  id="txtNameVi" /></td>
</tr>
<tr >
<td >Tên Tiếng Anh</td>
<td ><input type="text"  id="txtNameEn" /></td>
</tr>
<tr >
<td >Số Loại Quyền</td>
<td ><input type="text"  id="txtPowerType" value="[var.maxPowerType]" /></td>
</tr>
<tr >
<td>Ghi chú</td>
<td ><textarea id="description" name="description" cols="50" rows="4" style="width:300px"></textarea></td>
</tr>
<tr >
<td class="tdButton" colspan="2">
<button class="submit" id="submit" onclick="SaveFormAdd(this.form);xajax_loadGrid();" type="button"> Lưu </button> <button class="clear" type="reset" id="clear"> Nhập Lại </button> 
</td>
</tr>
</table>
</form>
</div>
<div class="divGrid" id="divGrid">
</div>
</div>
<script language="javascript">
 function initTable(){
     
     $("#tableOne").tablesorter({ debug false, sortList [[0, 0]], widgets ['zebra', 'columnHighlight'] })
                .tablesorterPager({ container $("#pagerOne"), position:fixed false });
     
 }
  xajax_loadGrid();
</script>